package com.aimao.blog.constant;

/**
 * @Author PuaChen
 * @Create 2018-07-02 16:26
 */
public enum ResponseState {
    SUCCESS(1,"SUCCESS"),
    FAILURE(0,"FAILURE"),
    ERROR(-1,"ERROR");

    Integer code;
    String msg;

    ResponseState(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
